import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    loginToken: ""
  },
  mutations: {
    SET_LOGIN_TOKEN(state, token) {
      state.loginToken = token;
    },
    CLEAR_LOGIN_TOKEN(state) {
      state.loginToken = "";
    }
  },
  actions: {
  },
  modules: {
  }
})
